//
//  AboutUsPage.swift
//  Casecord
//
//  Created by baozi on 2024/1/8.
//

import SwiftUI
struct AboutUsPage: View {
    @EnvironmentObject var route: Router
    var body: some View {
        ScrollView {
            Color.clear.frame(height: 40)
            
            CustomMenuItem(title: "Privacy", image: "person.crop.circle") {
                route.open(Env.current.privicyUrl)
            }
            .paddingTop(10)
            CustomMenuItem(title: "User Term", image: "person") {
                route.open(Env.current.termsUrl)
            }
            .paddingTop(10)
        }
            .setCustomNav(title: "About US")
    }
}

#Preview {
    AboutUsPage()
}
